<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>wickr-crypto-c: wickr_ephemeral_keypair Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">wickr-crypto-c
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">wickr_ephemeral_keypair Struct Reference<div class="ingroups"><a class="el" href="group__wickr__ephemeral__keypair.html">Wickr_ephemeral_keypair</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>Represents a key pair used for message key exchanges within the Wickr Messaging Protocol.  
 <a href="structwickr__ephemeral__keypair.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="ephemeral__keypair_8h_source.html">ephemeral_keypair.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a9220b37a7db764818406bcc84e3ba86b"><td class="memItemLeft" align="right" valign="top">uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwickr__ephemeral__keypair.html#a9220b37a7db764818406bcc84e3ba86b">identifier</a></td></tr>
<tr class="separator:a9220b37a7db764818406bcc84e3ba86b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad730ed9ba92e05d0a271edc838e548fe"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structwickr__ec__key.html">wickr_ec_key_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwickr__ephemeral__keypair.html#ad730ed9ba92e05d0a271edc838e548fe">ec_key</a></td></tr>
<tr class="separator:ad730ed9ba92e05d0a271edc838e548fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea420be2397d798a560fa973be86228c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structwickr__ecdsa__result.html">wickr_ecdsa_result_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwickr__ephemeral__keypair.html#aea420be2397d798a560fa973be86228c">signature</a></td></tr>
<tr class="separator:aea420be2397d798a560fa973be86228c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Represents a key pair used for message key exchanges within the Wickr Messaging Protocol. </p>
<p>Ephemeral kaypairs are identifiable by an integer value, and are signed by the node that generated the key. The additional properties outside of the key material itself provide clarity for both a message sender and receiver. For the sender, the signature can provide authenticity of the public key material if the key pair is retrived from a public place such as a server. The identifier can be passed as metadata by the sender so that the receiver has knowledge of which private key from their active pool to use decode the message. The goal of ephemeral keypairs is to provide an as constant as possible rotation / destruction cycle </p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="ad730ed9ba92e05d0a271edc838e548fe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad730ed9ba92e05d0a271edc838e548fe">&#9670;&nbsp;</a></span>ec_key</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">wickr_ephemeral_keypair::ec_key</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>underlying Elliptic curve key pair to use </p>

</div>
</div>
<a id="a9220b37a7db764818406bcc84e3ba86b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9220b37a7db764818406bcc84e3ba86b">&#9670;&nbsp;</a></span>identifier</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">wickr_ephemeral_keypair::identifier</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>identifier to associate with this key pair so it can be cataloged and later recalled when used </p>

</div>
</div>
<a id="aea420be2397d798a560fa973be86228c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aea420be2397d798a560fa973be86228c">&#9670;&nbsp;</a></span>signature</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">wickr_ephemeral_keypair::signature</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>a signature of the 'ec_key' public component </p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>src/wickrcrypto/include/wickrcrypto/<a class="el" href="ephemeral__keypair_8h_source.html">ephemeral_keypair.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
